package com.csh.subject.domain.convert;

import com.csh.subject.domain.entity.SubjectCategoryBo;
import com.csh.subject.infra.basic.entity.SubjectCategory;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectCategoryConvert {
    SubjectCategoryConvert INSTANCE = Mappers.getMapper(SubjectCategoryConvert.class);

    SubjectCategory convertBoToCategory(SubjectCategoryBo subjectCategoryBo);

    List<SubjectCategoryBo> convertCategoryToBo(List<SubjectCategory> CategoryList);
}
